<?php

namespace App\Models\Member;

use App\Models\BaseModel;

/**
 * App\Models\Member\CertificationEmail
 *
 * @property int $id
 * @property int $user_id 用户ID
 * @property string $email 邮箱
 * @property int $status 认证状态 等待验证=0 通过验证=1
 * @property string $token 认证令牌
 * @property string $end_time 令牌有效期
 * @property \Illuminate\Support\Carbon|null $created_at
 * @property \Illuminate\Support\Carbon|null $updated_at
 * @property-read \Illuminate\Notifications\DatabaseNotificationCollection|\Illuminate\Notifications\DatabaseNotification[] $notifications
 * @property-read int|null $notifications_count
 * @method static \Illuminate\Database\Eloquent\Builder|CertificationEmail newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|CertificationEmail newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|CertificationEmail query()
 * @method static \Illuminate\Database\Eloquent\Builder|CertificationEmail whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|CertificationEmail whereEmail($value)
 * @method static \Illuminate\Database\Eloquent\Builder|CertificationEmail whereEndTime($value)
 * @method static \Illuminate\Database\Eloquent\Builder|CertificationEmail whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|CertificationEmail whereStatus($value)
 * @method static \Illuminate\Database\Eloquent\Builder|CertificationEmail whereToken($value)
 * @method static \Illuminate\Database\Eloquent\Builder|CertificationEmail whereUpdatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|CertificationEmail whereUserId($value)
 * @mixin \Eloquent
 */
class CertificationEmail extends BaseModel {
	protected $table = 'certification_email';
	protected $primaryKey = 'id';
	public $timestamps = true;
	protected $fillable = [
		'user_id',
		'email',
		'status',
		'token',
		'end_time',
	];
}
